/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package ar.edu.utn.frsf.ofa.javaee7.tp.ejemplo.ecompras.modelo;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

/**
 *
 * @author Martin
 */
@Entity
@DiscriminatorValue("2")
public class Credito extends Movimiento{

    @Override
    public double getMonto() {
        return monto;
    }
    
}
